
a = [01,10,15,23,27,29,10]
b = [09,10,23,25,29,31,09]

dist = 0

for i in a:
	for j in b:
		if i == j:
			dist+=1

print(dist)

print(dist/7)


		


